//引入mockjs模块
import Mock from 'mockjs';
//引入json数据
import banner from './banner';
import floor from './floor';

//mock数据：第一个参数是请求地址  第二个参数：请求数据
Mock.mock('/mock/banner', { code: 200, data: banner })
Mock.mock('/mock/floor', { code: 200, data: floor })